package ee.nlp.evn.entities;

import java.util.ArrayList;
import java.util.List;

public class POS {
	private String tag;
	private String role;
	private List<String> synRestrs;
	public POS(String pTag) {
		setTag(pTag);
		setRole("");
		this.synRestrs = new ArrayList<String>();
	}
	/**
	 * @return the tag
	 */
	public String getTag() {
		return tag;
	}
	/**
	 * Part-Of-Speech tag is string like "V", "NP", "PP" etc.
	 * @param tag the POS-tag to set
	 */
	public void setTag(String tag) {
		this.tag = tag;
	}
	/**
	 * @return the role
	 */
	public String getRole() {
		return role;
	}
	/**
	 * @param role the role to set
	 */
	public void setRole(String role) {
		this.role = role;
	}
	/**
	 * @return the synRestrs
	 */
	public List<String> getSynRestrs() {
		return synRestrs;
	}
	/**
	 * @param synRestrs the synRestrs to set
	 */
	public void addSynRestr(String synRestr) {
		this.synRestrs.add(synRestr);
	}
}
